<?php use_helper('Slug') ?>
<div class="title_section">
	 Recherche dans les articles
</div>
<div align="center" class="section">
<?php if($nb == 0):?>
	<div class="no_res">Aucun résultat de recherche</div>
<?php endif;?>
<?php foreach($Results as $art):?>
    	<ul class="elem_on_section">
        	<li class="">
            	<a class="link_title" href="<?php echo url_for('@show_article_by_id?title='.sluggify($art["title"]).'&idarticles='.$art->getIdarticles()) ?>"><?php echo $art["title"] ?></a> (<?php foreach($art["Assoplatform"] as $assoPlat):?>
                    <a href="<?php echo url_for("search/platform?id=".$assoPlat["Platform"]["id"]) ?>"><?php echo image_tag("Platform/".$assoPlat["Platform"]["picture"], array("width" => 15,"height" => 15, "alt"=> $assoPlat["Platform"]["real_name"],"title" => $assoPlat["Platform"]["real_name"])) ?></a>)
                <?php endforeach;?>
            </li>
            <li class="" style="margin-left: 10px">
            	<?php echo $art["description"] ?>
            </li>
        </ul>
<?php endforeach;?>
</div>